﻿#ifndef __SOUND_H
#define __SOUND_H

/* ÓïÒôÄ£¿éÉè±¸µØÖ· */
#define VOICE_MODULE_ADDR 0x2B
/* ¼Ä´æÆ÷¶¨Òå */
#define RESULT_REG        0x64
#define PASSIVE_LANG_REG  0x03

int sound_Read(int fd, unsigned char slave_addr, unsigned char reg_addr, unsigned char* data_buf, int data_len);
int sound_Write(int fd, unsigned char slave_addr, unsigned char* data_buf, int data_len);
int read_voice_result(int fd, unsigned char* result);
int set_voice_language(int fd, unsigned char lang);



#endif // !__SOUND_H
